package com.shop.front.vo.paper;

import com.shop.common.entity.paper.PaperAssign;
import com.shop.common.vo.PaperQuestionVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 考试详情VO
 */
@Data
@ApiModel(value = "考试详情VO")
public class PaperDetailedVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "记录ID")
    private Integer logId;

    @ApiModelProperty(value = "编号")
    private String code;

    @ApiModelProperty(value = "名称")
    private String title;

    @ApiModelProperty(value = "介绍")
    private String intro;

    @ApiModelProperty(value = "总分")
    private Integer score;

    @ApiModelProperty(value = "及格分数")
    private Integer passingMark;

    @ApiModelProperty(value = "时长(分钟)")
    private Integer time;

    @ApiModelProperty(value = "完成天数限制")
    private Integer days;

    @ApiModelProperty(value = "状态:0禁用，1启用")
    private Integer status;

    @ApiModelProperty(value = "是否公开")
    private Integer isPublic;

    @ApiModelProperty(value = "学分")
    private Integer credit;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "试题总数")
    private Integer questionCount;

    @ApiModelProperty(value = "试题")
    private List<PaperQuestionVo> questions;

    @ApiModelProperty(value = "考试任务")
    private PaperAssign paperAssign;

    @ApiModelProperty(value = "前置课程")
    private List<PaperCourseVo> courses;

    @ApiModelProperty(value = "是否已完成前置课程学习任务")
    private Integer finished;
}
